///http 连接超时
///
class HttpConstant{
  static const int httpConnectTimeout = 30000;

  ///http 读超时
  static const int httpReadTimeout = 30000;

  ///写超时
  static const int httpWriteTimeout = 30000;

  static const String baseUrlKey = "BASE_URL";

  static const String otherUrlKey = "OTHER_URL";

  ///base url
  static const String baseUrl = String.fromEnvironment(baseUrlKey);

  ///other url
  static const String otherUrl = String.fromEnvironment(otherUrlKey);

  ///json code key
  static const String codeKey = "code";

  ///json msg key
  static const String msgKey = "msg";

  ///data msg key
  static const String dataKey = "data";

  ///get 请求
  static const String httpMethodGet = "get";

  ///post 请求
  static const String httpMethodPost = "post";

  ///delete 请求
  static const String httpMethodDelete = "delete";
  ///put 请求
  static const String httpMethodPut = "put";
  ///patch 请求
  static const String httpMethodPatch = "patch";
  ///head 请求
  static const String httpMethodHead = "head";
  ///token key
  static const String tokenKey = "tokenId";
  ///token value
}
